package cn.itsource.pethome.org.mapper;

import cn.itsource.pethome.org.domain.Employee;
import cn.itsource.pethome.org.query.EmployeeQuery;
import cn.itsource.pethome.basic.util.PageList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: 描述:
 * @date: 2020/8/9 14:20
 * @author: summer
 * version: 1.0
 */
public interface EmployeeMapper {

    List<Employee> findAll(EmployeeQuery employeeQuery);

    Long findCountAll(EmployeeQuery employeeQuery);

    void delEmployee(Long id);

    void batchDelEmployee(@Param("ids") Long[] id);

    void save(Employee employee);

    void update(Employee employee);
}
